package com.example.web_chat.model;

import lombok.Data;

//表示一个响应(非HTTP)
@Data
public class MessageResponse {

    private String type = "message";
    private Integer fromId;//发送者的id
    private String fromName;//发送者的名字
    private Integer sessionId;//会话id
    private String content;//消息内容
}
